﻿using System;
using YinfangWeb.Common;

namespace YinfangWeb.Model
{
	/// <summary>
	/// ProductPackageItem
	/// </summary>
    [Serializable]
	public class ProductPackageItem
	{
		/// <summary>
		/// ProductPackageItemID
        /// </summary>
        [FieldName("ProductPackageItemID")]		
		public int ProductPackageItemID
		{
			get;
			set;
		}
        
		/// <summary>
		/// ProductPackageID
        /// </summary>
        [FieldName("ProductPackageID")]		
		public int ProductPackageID
		{
			get;
			set;
		}
        
		/// <summary>
		/// ProductDataID
        /// </summary>
        [FieldName("ProductDataID")]		
		public int ProductDataID
		{
			get;
			set;
		}
        
		/// <summary>
		/// ProductNumber
        /// </summary>
        [FieldName("ProductNumber")]		
		public int ProductNumber
		{
			get;
			set;
		}
        
		/// <summary>
		/// Exchange
        /// </summary>
        [FieldName("Exchange")]		
		public bool Exchange
		{
			get;
			set;
		}
        
		/// <summary>
		/// RegDateTime
        /// </summary>
        [FieldName("RegDateTime")]		
		public DateTime RegDateTime
		{
			get;
			set;
		}
        
        public ProductPackageItem Clone()
        {
            return (ProductPackageItem)this.MemberwiseClone();
        }
        
        public ProductPackageItem()
        {
            RegDateTime = ConvertHelper.DefaultDate;
        }
	}
}
